import Vue from "vue";
import Router from "vue-router";

Vue.use(Router);

export default new Router({
  mode: "history",
  routes: [
    {
      name: "工号页",
      path: "/Home",
      component: () => import("@/views/Home"),
      meta: {
        name: "首页"
      }
    },
    {
      name: "打卡页",
      path: "/Clockin",
      component: () => import("@/views/Clockin"),
      meta: {
        name: "打卡"
      }
    },
    {
      name: "问卷",
      path: "/healthForm",
      component: () => import("@/views/healthForm"),
      meta: {
        name: "问卷"
      }
    }
  ]
});
